package com.zhy.sping.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitMqQueueConfig {
    @Bean
    public Queue creatQ1(){
        return new Queue(RabbitMqConfig.MQ_QCOURSE_ES);
    }
}
